﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMS.ENT
{
    public class FileENT
    {
        public int FileID { get; set; }
        public string FileName { get; set; }
        public int ScheduleStatementID { get; set; }
        public string FileMD5 { get; set; }
        public string FilePath { get; set; }
        public decimal FileSize { get; set; }
        public int CreatedBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public int UpdateBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int Isdeleted { get; set; }
        public string FileAuthor{get;set;}
        public string FileCategory{get;set;}
        public string FileComment{get;set;}
        public DateTime FileCreationDate{get;set;}
        public string FileExtension{get;set;}
        public DateTime FileModificationDate { get; set; }
        public string FileSubject{get;set;}
        public string FileTitle{get;set;}
        public string FileType{get;set;}
        public long FileVersion{get;set;}

    }

    public enum FileColumns
    {
        FileID,
        FileName,
        ScheduleStatementID,
        FileMD5,
        FilePath,
        FileSize,
        CreatedBy,
        CreatedDate,
        UpdateBy,
        UpdateDate,
        Isdeleted
    }


    public class FileCollection : List<FileENT>
    {
        public FileCollection()
            : base()
        { }

        public FileCollection(IEnumerable<FileENT> collection)
            : base(collection)
        { }

        public FileCollection(ICollection<FileENT> collection)
            : base(collection)
        { }

    }
}
